package lib.pictureToVersion;

import lib.readerToWriter.ReadXml;
import interFace.PictureInterface;
import interFace.ReadXmlInterface;
import interFace.getPictureInterface;

public class getPicture implements getPictureInterface {

	private PictureInterface p = new Picture();
	private ReadXmlInterface  r = new ReadXml();
	
	public getPicture()
	{
	    p = r.readXml3();	
	}
	/* (non-Javadoc)
	 * @see lib.getPictureInterface#getSplash()
	 */
	@Override
	public String getSplash()
	{
		return p.getSplash();
	}
	/* (non-Javadoc)
	 * @see lib.getPictureInterface#getTray()
	 */
	@Override
	public String getTray()
	{
		return p.getTray();
	}
	
}
